Skip to content

Conversation

@mosesoak
Copy link

@mosesoak mosesoak commented May 6, 2015

Hey @cheesemaker sorry to block these together, GitHub used to make it easier to figure out how to select specific commits for a pull.

@cheesemaker
Copy link
Owner

Moses, can you change uuSafeSetObject to do a removeObjectForKey if the object is nil?

@cheesemaker
Copy link
Owner

Also, do we need this? setValue:forKey does essentially what this function would do. See NSKeyValueCoding.h:
@interface NSMutableDictionary(NSKeyValueCoding)

/* Send -setObject:forKey: to the receiver, unless the value is nil, in which case send -removeObject:forKey:.
*/

  • (void)setValue:(id)value forKey:(NSString *)key;

@EnD

@mosesoak
Copy link
Author

mosesoak commented May 7, 2015

Hm you're right! I didn't realize that. I've removed that commit from this pull request, thanks!

@mosesoak mosesoak changed the title non-animated uuprogressview, uudictionary safesetobject method non-animated uuprogressview, UULocationMonitoringConfiguration requestStartWhenInUseTracking method May 7, 2015
@mosesoak
Copy link
Author

@cheesemaker Added a commit that improves on the previous UULocation changes I made, and adds a canRequestTracking method since in iOS 8, nothing happens during the request unless the status is undetermined.

mosesoak added 2 commits May 18, 2015 15:46
…it possible to start either full location monitoring or significantLocationChange monitoring independently. (Requires developer to call startTracking once requested and approved by user.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants